IdeaBlade DevForce 2010 Help Reference
PropertyValueVerifierArgs Constructor(Type,String,Boolean,String,Nullable<Boolean>)
See Also  Send Feedback
IdeaBlade.Validation Assembly > IdeaBlade.Validation Namespace > PropertyValueVerifierArgs Class > PropertyValueVerifierArgs Constructor : PropertyValueVerifierArgs Constructor(Type,String,Boolean,String,Nullable<Boolean>)



applicableType
propertyName
The property on the specified type to be validated.
isRequired
Whether the property name is required or may be left null.
displayName
A display name for the specified property.
shouldTreatEmptyStringAsNull
Whether to treat an empty string as a null for validation purposes..
Initializes a new instance of the PropertyValueVerifierArgs class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal applicableType As Type, _
   ByVal propertyName As String, _
   ByVal isRequired As Boolean, _
   ByVal displayName As String, _
   Optional ByVal shouldTreatEmptyStringAsNull As Nullable(Of Boolean) _
)
Visual Basic (Usage)Copy Code
Dim applicableType As Type
Dim propertyName As String
Dim isRequired As Boolean
Dim displayName As String
Dim shouldTreatEmptyStringAsNull As Nullable(Of Boolean)
 
Dim instance As New PropertyValueVerifierArgs(applicableType, propertyName, isRequired, displayName, shouldTreatEmptyStringAsNull)
C# 
public PropertyValueVerifierArgs( 
   Type applicableType,
   string propertyName,
   bool isRequired,
   string displayName,
   Nullable<bool> shouldTreatEmptyStringAsNull
)
C++/CLI 
public:
PropertyValueVerifierArgs( 
   Type^ applicableType,
   String^ propertyName,
   bool isRequired,
   String^ displayName,
   Nullable<bool> shouldTreatEmptyStringAsNull
)

Parameters

applicableType
propertyName
The property on the specified type to be validated.
isRequired
Whether the property name is required or may be left null.
displayName
A display name for the specified property.
shouldTreatEmptyStringAsNull
Whether to treat an empty string as a null for validation purposes..

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.